package com.horse.cloud.boss.controller;

import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

import java.util.HashMap;
import java.util.Map;

/**
 * @create : Created by intelliJ IDEA 17.2
 * @author : bing.Pan
 * @e-mail : 15923508369@163.com
 * @gmdate : 01 30 2018 11:50
 * @sidesc :
 */

@Api(value = "GatewayViewController",description = "cloud-gateway 系统页面跳转接口列表  ViewController")
@Controller
public class GatewayViewController {

    /**
     * 跳转到新增/修改业务系统页面
     * @return
     */
    @GetMapping(value = "/gateway/addAndUpdateBusinessSystem")
    public ModelAndView toAddBusinessSystemPage(String id ){

        Map<String, Object> map = new HashMap<>();
        map.put("id", id);
        return  new ModelAndView("cloud-gateway/addAndUpdateBusinessSystem",map);
    }











}
